package org.springblade.tms.module.sap.dto;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

/**
 * @projectName: BladeX
 * @package: org.springblade.tms.module.sap.dto
 * @className: SapBillingItemDTO
 * @author: yr
 * @description: 发票上报sap
 * @date: 2022/4/24 18:57
 */
@Data
public class SapBillingDTO {
	//承运商编码
	@JSONField(name = "LIFNR")
	private String carrierNo;
	//发票日期
	@JSONField(name = "BLDAT",format = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime itemDate;
	//发票号码
	@JSONField(name = "XBLNR")
	private String no;
	//结算单号码
	@JSONField(name = "SFIR_ID")
	private String billingId;
	//采购运费标识
	@JSONField(name = "FSD_PUR")
	private String fsdPur;
	//发票金额
	@JSONField(name = "TOTAL_AMOUNT")
	private BigDecimal price;
	//发票税额
	@JSONField(name = "WMWST")
	private BigDecimal tax;
	//价税合计
	@JSONField(name = "ZTOTAL")
	private BigDecimal total;
	//币别
	@JSONField(name = "DOC_CURRENCY")
	private String currencyType;
	//税率
	@JSONField(name = "ZSL")
	private BigDecimal zsl;
	//发票凭证照片
	@JSONField(name = "ZFPTP")
	private String zfptp;
	//提报人
	@JSONField(name = "CRE_PERSON")
	private String CREPERSON;
	//币别
	@JSONField(name = "ITEM01")
	private List<SapBillingItemDTO> item;
}
